a{
    text-decoration: none;
}

.login-card a{
    text-decoration: none;
    color: #35339a;
}
.login-card a:hover{
    text-decoration: underline;
    color: green;
}

body{
    min-height: 100vh;
    background: linear-gradient(to right,#333399,#ff00cc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card{
    width: 450px;
    background: rgba(255,255,255,.5);
    border-radius: 15px;
    height: 600px;
    position: relative;
}
.login-card::before{
    content: '';
    position: absolute;
    background: rgba(255,255,255,.15);
    inset: 0;
    transform: rotate(-5deg);
    /* 设置-1图层 */
    z-index: -1;
}

.login-card-logo{
    margin-bottom: 1rem;
    padding-top: 2rem;
}

.login-card img{
    width: 13%;
    margin-left: 20px;
    margin-top: 10px;
}
.login-card-logo,
.login-card-header,
.login-card-footer{
    text-align: center;
}

.login-card-header{
    margin-bottom: 2rem;
}
.login-card-header h1{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: .5rem;
}
.login-card-header div{
    font-size: calc(1rem*.8);
    opacity: .8;
}

.login-card-form{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.login-card-form .form-item{
    position: relative;
}
.login-card-form .form-item .iconfont{
    position: absolute;
    top: .82rem;
    left: 1.4rem;
    font-size: 1.3rem;
    opacity: .4;
}

.login-card-form .checkbox{
    display: flex;
    align-items: center;
    gap: 7px;

}

.login-card-form .form-item-other{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: calc(1rem*.8);
    margin-bottom: .5rem;
}

.login-card input[type="text"],
.login-card input[type="password"]{
    border: none;
    outline: none;
    background: rgba(255,255,255,.2);
    padding: 1rem 3rem;
    margin-left: 2rem;
    border-radius: 100px;
    width: 60%;
}

/* 设置placeholder颜色 */
input::-webkit-input-placeholder{
    color: #333;
}


.iconfont{
    margin-left: 1.6rem;
}


.login-card input:focus{
    /* 输入框聚焦变色 */
    background: #fff;
}
.login-card input[type="checkbox"]{
    margin-left: 3rem;
    width: 16px;
    height: 16px;
    /* 勾选框颜色 */
    accent-color: green;
}

.form-item-other{
    margin-right: 3rem;
}

/* 加号代表并列 同级的选择器 */
.login-card-form+button{
    background: green;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 1rem;
    margin: 2rem;
    width: 80%;
    font-size: 1.2rem;
    /* 内容大写 */
    text-transform: uppercase;
}
.login-card-form+button:hover{
    background-color: rgba(0,128,0,.6);
    cursor: pointer;
}

.login-card-social{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.login-card-social div{
    opacity: .8;
    text-transform: uppercase;
    font-size: calc(1rem*1);
}
.lodin-card-social-btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.lodin-card-social-btn a{
    display: flex;
    justify-content: center;
    align-items:center ;
}
/* 设置图标大小 颜色*/
.icon-infinite,.icon-guanyu{
    font-size: 2.5rem;
    color: rgb(33, 2, 30);
}

.login-card-footer a{
    margin-left: 1.5rem;
    font-size: .7rem;
}


.other{
    display: flex;
}


